package com.ruoyi.performance.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.performance.mapper.ProjectExamineMapper;
import com.ruoyi.performance.domain.ProjectExamine;
import com.ruoyi.performance.service.IProjectExamineService;

/**
 * 考核管理Service业务层处理
 * 
 * @author zcw
 * @date 2024-01-08
 */
@Service
public class ProjectExamineServiceImpl implements IProjectExamineService 
{
    @Autowired
    private ProjectExamineMapper projectExamineMapper;

    /**
     * 查询考核管理
     * 
     * @param id 考核管理主键
     * @return 考核管理
     */
    @Override
    public ProjectExamine selectProjectExamineById(Long id)
    {
        return projectExamineMapper.selectProjectExamineById(id);
    }

    /**
     * 查询考核管理列表
     * 
     * @param projectExamine 考核管理
     * @return 考核管理
     */
    @Override
    public List<ProjectExamine> selectProjectExamineList(ProjectExamine projectExamine)
    {
        return projectExamineMapper.selectProjectExamineList(projectExamine);
    }

    /**
     * 新增考核管理
     * 
     * @param projectExamine 考核管理
     * @return 结果
     */
    @Override
    public int insertProjectExamine(ProjectExamine projectExamine)
    {
        return projectExamineMapper.insertProjectExamine(projectExamine);
    }

    /**
     * 修改考核管理
     * 
     * @param projectExamine 考核管理
     * @return 结果
     */
    @Override
    public int updateProjectExamine(ProjectExamine projectExamine)
    {
        return projectExamineMapper.updateProjectExamine(projectExamine);
    }

    /**
     * 批量删除考核管理
     * 
     * @param ids 需要删除的考核管理主键
     * @return 结果
     */
    @Override
    public int deleteProjectExamineByIds(Long[] ids)
    {
        return projectExamineMapper.deleteProjectExamineByIds(ids);
    }

    /**
     * 删除考核管理信息
     * 
     * @param id 考核管理主键
     * @return 结果
     */
    @Override
    public int deleteProjectExamineById(Long id)
    {
        return projectExamineMapper.deleteProjectExamineById(id);
    }
}
